package com.fengmi.api.cms;

import com.fengmi.cms.Content;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * 作者：铁蛋
 * 时间：2021/10/14 20:07
 * 描述：永无Bug
 */
@FeignClient("fengmi-cms")
@RequestMapping("/cms/content")
public interface CMSApi {
    @RequestMapping("findContentListByTpid/{tpId}")
    public List<Content> findContentListByTpid(@PathVariable String tpId);
}
